﻿namespace eg_027_for循环嵌套
{
    internal class Program
    {
        static void Main(string[] args)
        {
            for (int i = 1; i <= 10; i++)
            {
                for (int j = 10; j > i; j--)
                {
                    Console.Write(" ");
                }
                //输出空格
                for (int k = 0; k < i; k++)
                {
                    Console.Write("* ");                 //输出*

                }
                Console.WriteLine();
                //换行
            }
        }
    }
}